#include "pspfpu.h"
Functions | |
| uint32_t | pspfpu_get_fcr31 (void) |
| Get the current value of the control/status register. | |
| void | pspfpu_set_fcr31 (uint32_t var) |
| Set the current value of the control/status register. | |
| void | pspfpu_set_roundmode (enum FpuRoundMode mode) |
| Set the current round mode. | |
| enum FpuRoundMode | pspfpu_get_roundmode (void) |
| Get the current round mode. | |
| uint32_t | pspfpu_get_flags (void) |
| Get the exception flags (set when an exception occurs but the actual exception bit is not enabled). | |
| void | pspfpu_clear_flags (uint32_t clear) |
| Clear the flags bits. | |
| uint32_t | pspfpu_get_enable (void) |
| Get the exception enable flags. | |
| void | pspfpu_set_enable (uint32_t enable) |
| Set the enable flags bits. | |
| uint32_t | pspfpu_get_cause (void) |
| Get the cause bits (only useful if you installed your own exception handler). | |
| void | pspfpu_clear_cause (uint32_t clear) |
| Clear the cause bits. | |
| uint32_t | pspfpu_get_fs (void) |
| Get the current value of the FS bit (if FS is 0 then an exception occurs with denormalized values, if 1 then they are rewritten as 0. | |
| void | pspfpu_set_fs (uint32_t fs) |
| Set the FS bit. | |
| uint32_t | pspfpu_get_condbits (void) |
| Get the condition flags (8 bits). | |
| void | pspfpu_clear_condbits (uint32_t clear) |
| Clear the condition bits. | |
|
|
Clear the cause bits.
|
|
|
Clear the condition bits.
|
|
|
Clear the flags bits.
|
|
|
Get the cause bits (only useful if you installed your own exception handler).
|
|
|
Get the condition flags (8 bits).
|
|
|
Get the exception enable flags.
|
|
|
Get the current value of the control/status register.
|
|
|
Get the exception flags (set when an exception occurs but the actual exception bit is not enabled).
|
|
|
Get the current value of the FS bit (if FS is 0 then an exception occurs with denormalized values, if 1 then they are rewritten as 0.
|
|
|
Get the current round mode.
|
|
|
Set the enable flags bits.
|
|
|
Set the current value of the control/status register.
|
|
|
Set the FS bit.
|
|
|
Set the current round mode.
|
1.4.6